﻿using System;

namespace BizElements.Web
{
    /// <summary>
    /// Used by bound controls with integrated error labels to indicate the position of error message relative to the control.
    /// </summary>
    public enum ErrorLocation
    {
        #region Enumerated values.

        /// <summary>
        /// Error message will be displayed below the control which it reffers to.
        /// </summary>
        Below,

        /// <summary>
        /// Error message will be displayed on right-hand side of the control which it reffers to.
        /// </summary>
        Right,

        /// <summary>
        /// Error message will be displayed in the <see cref="ValidationSummary"/> control.
        /// </summary>
        ValidationSummary

        #endregion
    }    
}
